<template>
	<div>
		<van-button type="primary" @click="addShow">打开子页面</van-button>
		<page-slide bottom :isShow="show">
			这是子页面内容
			<van-button plain hairline type="primary" @click='closePage'>关闭当前页面</van-button>
		</page-slide>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				show:false,
			}
		},
		methods: {
			addShow(){
				this.show =true;
			},
			closePage(){
				this.show = false;
			}
		}
	}
</script>

